<div class="border3" id="category">
<h3> </h3>
	<div class="border-top">
		<div class="bg"></div>
	</div>
	<div class="border-body">
	<div class="bg">
	<div class="GoodsCategoryWrap">
		<ul id="goodscat_category_tree">
  	<?php foreach(Category::tree($store['store_id']) as $c): ?>
		<li class="e-cat-depth-1" ><p nuid='8'><a href="<?=_url('list',array('category_id'=>$c['category_id']))?>" title="<?=$c['name']?>" ><?=Helper_Util::getstr($c['name'],22)?> </a></p>  
		<?php if(count($c['children'])):?>
			<ul><?php foreach($c['children'] as $c2):?>
				<li class="e-cat-depth-2"><p nuid='9'><a href="<?=_url('list',array('category_id'=>$c2['category_id']))?>" title="<?=$c2['name']?>" ><?=Helper_Util::getstr($c2['name'],22)?></a></p></li>
				<?php endforeach;?>
			</ul>
		<?php endif;?>
		</li>
	<?php endforeach;?>
		</ul>
	</div>
</div></div>
<div class="border-foot"><div class="bg"></div></div>
</div>
